package services

import "github.com/go-playground/validator/v10"

type ApiRequestService struct {
}

func NewApiRequestService() *ApiRequestService {
	return new(ApiRequestService)
}

func (service *ApiRequestService) Validate(req any) error {
	err := validator.New(validator.WithRequiredStructEnabled()).Struct(req)

	return err
}
